.cost-item {
  position: relative;
  .cost-item-body {
    border: 1px solid #666;
    padding: 4px;
    position: relative;
    .cg-gird {
      .cg-gird-item {
        padding: 0;
        font-size: 0;
        cursor: pointer;
        position: relative;
        .cg-image {
          width: 100%;
        }
        .cost-item-btn {
          width: 100%;
          height: 100%;
          font-size: 1rem;
        }

        .cost-item-close {
          font-size: 0.24rem;
          position: absolute;
          right: 0;
          top: 0;
          border-radius: 50%;
        }
      }
    }
  }

  .cost-item-detail-panel {
    position: absolute;
    background-color: rgba($color: #000000, $alpha: 0.6);
    padding: 0.4rem;
    border: 1px solid #666;
    width: 10rem;
    min-height: 3rem;
    font-size: 0.75rem;
    cursor: pointer;
    color: #fff;
  }
}

.cost-item-dialog {
  .cost-item-dialog-content {
    display: flex;
    white-space: nowrap;
    .left-col {
      flex: 1;
      font-size: 0;
      .cg-image {
        width: 100%;
      }
    }
    .right-col {
      flex: 3;
      .cost-item-select {
        padding-left: 1rem;
      }
    }
  }

  .cg-dialog-footer {
    display: flex;
    white-space: nowrap;
    .left-col {
      flex: 1;
      text-align: left;
      .cg-input-number {
        width: 6rem;
      }
    }
    .right-col {
      flex: 0;
      text-align: right;
    }
  }
}
